package com.wedistudio.slidesprovider;

import java.net.URL;

import com.wedistudio.android.framework.json.JSonObject;
import com.wedistudio.android.framework.service.ServiceRequest;

public class SlideID extends JSonObject<SlideID> implements
		ServiceRequest {

	String source;
	String id;
	URL url;

	static public SlideID create(String source, String id, URL url) {
		return new SlideID(source, id, url);
	}

	static public SlideID create(String source, URL url) {
		return new SlideID(source, url);
	}

	static public SlideID create(String source, String id) {
		return new SlideID(source, id);
	}

	private SlideID(String source, String id, URL url) {
		super();
		this.id = id;
		this.url = url;
		this.source = source;
	}

	private SlideID(String source, String id) {
		super();
		this.id = id;
		this.source = source;
	}

	private SlideID(String source, URL url) {
		super();
		this.url = url;
		this.source = source;
	}

	public String getId() {
		return id;
	}

	public URL getUrl() {
		return url;
	}

	public String getSource() {
		return source;
	}
}
